package com.example.user.myhjjf_app.model;

/**
 * Created by User on 2017/8/11.
 */

public class Login {

    /**
     * value : {"createDate":null,"createBy":null,"createName":null,"officePhone":"","mobilePhone":"","signatureFile":"images/renfang/qm/licf.gif","email":"","updateDate":1472980051000,"updateName":"管理员","updateBy":"admin","realName":"管理员","signature":null,"password":"c44b01947c9e6e3f","userName":"admin","status":1,"browser":null,"deleteFlag":0,"departid":"8a8ab0b246dc81120146dc8180a20016","currentDepart":{"address":"","description":"","departname":"黔西南布依族苗族自治州兴义市","fax":"104.901752","orgType":"1","tsdeparts":null,"orgCode":"A02","mobile":"25.098151","tspdepart":null,"id":"8a8ab0b246dc81120146dc8180a20016"},"activitiSync":null,"userKey":"管理员","id":"8a8ab0b246dc81120146dc8181950052"}
     * exception : null
     * success : true
     */

    private ValueBean value;
    private Object exception;
    private boolean success;

    public ValueBean getValue() {
        return value;
    }

    public void setValue(ValueBean value) {
        this.value = value;
    }

    public Object getException() {
        return exception;
    }

    public void setException(Object exception) {
        this.exception = exception;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    @Override
    public String toString() {
        return "Login{" +
                "value=" + value +
                ", exception=" + exception +
                ", success=" + success +
                '}';
    }

    public static class ValueBean {
        /**
         * createDate : null
         * createBy : null
         * createName : null
         * officePhone :
         * mobilePhone :
         * signatureFile : images/renfang/qm/licf.gif
         * email :
         * updateDate : 1472980051000
         * updateName : 管理员
         * updateBy : admin
         * realName : 管理员
         * signature : null
         * password : c44b01947c9e6e3f
         * userName : admin
         * status : 1
         * browser : null
         * deleteFlag : 0
         * departid : 8a8ab0b246dc81120146dc8180a20016
         * currentDepart : {"address":"","description":"","departname":"黔西南布依族苗族自治州兴义市","fax":"104.901752","orgType":"1","tsdeparts":null,"orgCode":"A02","mobile":"25.098151","tspdepart":null,"id":"8a8ab0b246dc81120146dc8180a20016"}
         * activitiSync : null
         * userKey : 管理员
         * id : 8a8ab0b246dc81120146dc8181950052
         */

        private Object createDate;
        private Object createBy;
        private Object createName;
        private String officePhone;
        private String mobilePhone;
        private String signatureFile;
        private String email;
        private long updateDate;
        private String updateName;
        private String updateBy;
        private String realName;
        private Object signature;
        private String password;
        private String userName;
        private int status;
        private Object browser;
        private int deleteFlag;
        private String departid;
        private CurrentDepartBean currentDepart;
        private Object activitiSync;
        private String userKey;
        private String id;

        public Object getCreateDate() {
            return createDate;
        }

        public void setCreateDate(Object createDate) {
            this.createDate = createDate;
        }

        public Object getCreateBy() {
            return createBy;
        }

        public void setCreateBy(Object createBy) {
            this.createBy = createBy;
        }

        public Object getCreateName() {
            return createName;
        }

        public void setCreateName(Object createName) {
            this.createName = createName;
        }

        public String getOfficePhone() {
            return officePhone;
        }

        public void setOfficePhone(String officePhone) {
            this.officePhone = officePhone;
        }

        public String getMobilePhone() {
            return mobilePhone;
        }

        public void setMobilePhone(String mobilePhone) {
            this.mobilePhone = mobilePhone;
        }

        public String getSignatureFile() {
            return signatureFile;
        }

        public void setSignatureFile(String signatureFile) {
            this.signatureFile = signatureFile;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public long getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(long updateDate) {
            this.updateDate = updateDate;
        }

        public String getUpdateName() {
            return updateName;
        }

        public void setUpdateName(String updateName) {
            this.updateName = updateName;
        }

        public String getUpdateBy() {
            return updateBy;
        }

        public void setUpdateBy(String updateBy) {
            this.updateBy = updateBy;
        }

        public String getRealName() {
            return realName;
        }

        public void setRealName(String realName) {
            this.realName = realName;
        }

        public Object getSignature() {
            return signature;
        }

        public void setSignature(Object signature) {
            this.signature = signature;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public Object getBrowser() {
            return browser;
        }

        public void setBrowser(Object browser) {
            this.browser = browser;
        }

        public int getDeleteFlag() {
            return deleteFlag;
        }

        public void setDeleteFlag(int deleteFlag) {
            this.deleteFlag = deleteFlag;
        }

        public String getDepartid() {
            return departid;
        }

        public void setDepartid(String departid) {
            this.departid = departid;
        }

        public CurrentDepartBean getCurrentDepart() {
            return currentDepart;
        }

        public void setCurrentDepart(CurrentDepartBean currentDepart) {
            this.currentDepart = currentDepart;
        }

        public Object getActivitiSync() {
            return activitiSync;
        }

        public void setActivitiSync(Object activitiSync) {
            this.activitiSync = activitiSync;
        }

        public String getUserKey() {
            return userKey;
        }

        public void setUserKey(String userKey) {
            this.userKey = userKey;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        @Override
        public String toString() {
            return "ValueBean{" +
                    "createDate=" + createDate +
                    ", createBy=" + createBy +
                    ", createName=" + createName +
                    ", officePhone='" + officePhone + '\'' +
                    ", mobilePhone='" + mobilePhone + '\'' +
                    ", signatureFile='" + signatureFile + '\'' +
                    ", email='" + email + '\'' +
                    ", updateDate=" + updateDate +
                    ", updateName='" + updateName + '\'' +
                    ", updateBy='" + updateBy + '\'' +
                    ", realName='" + realName + '\'' +
                    ", signature=" + signature +
                    ", password='" + password + '\'' +
                    ", userName='" + userName + '\'' +
                    ", status=" + status +
                    ", browser=" + browser +
                    ", deleteFlag=" + deleteFlag +
                    ", departid='" + departid + '\'' +
                    ", currentDepart=" + currentDepart +
                    ", activitiSync=" + activitiSync +
                    ", userKey='" + userKey + '\'' +
                    ", id='" + id + '\'' +
                    '}';
        }

        public static class CurrentDepartBean {
            /**
             * address :
             * description :
             * departname : 黔西南布依族苗族自治州兴义市
             * fax : 104.901752
             * orgType : 1
             * tsdeparts : null
             * orgCode : A02
             * mobile : 25.098151
             * tspdepart : null
             * id : 8a8ab0b246dc81120146dc8180a20016
             */

            private String address;
            private String description;
            private String departname;
            private String fax;
            private String orgType;
            private Object tsdeparts;
            private String orgCode;
            private String mobile;
            private Object tspdepart;
            private String id;

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getDepartname() {
                return departname;
            }

            public void setDepartname(String departname) {
                this.departname = departname;
            }

            public String getFax() {
                return fax;
            }

            public void setFax(String fax) {
                this.fax = fax;
            }

            public String getOrgType() {
                return orgType;
            }

            public void setOrgType(String orgType) {
                this.orgType = orgType;
            }

            public Object getTsdeparts() {
                return tsdeparts;
            }

            public void setTsdeparts(Object tsdeparts) {
                this.tsdeparts = tsdeparts;
            }

            public String getOrgCode() {
                return orgCode;
            }

            public void setOrgCode(String orgCode) {
                this.orgCode = orgCode;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public Object getTspdepart() {
                return tspdepart;
            }

            public void setTspdepart(Object tspdepart) {
                this.tspdepart = tspdepart;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            @Override
            public String toString() {
                return "CurrentDepartBean{" +
                        "address='" + address + '\'' +
                        ", description='" + description + '\'' +
                        ", departname='" + departname + '\'' +
                        ", fax='" + fax + '\'' +
                        ", orgType='" + orgType + '\'' +
                        ", tsdeparts=" + tsdeparts +
                        ", orgCode='" + orgCode + '\'' +
                        ", mobile='" + mobile + '\'' +
                        ", tspdepart=" + tspdepart +
                        ", id='" + id + '\'' +
                        '}';
            }
        }
    }
}
